<script>
	export default {
		data(){
			return{
				userInfo:''
			}
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			if(uni.getStorageSync('userInfo')){
				this.userInfo = JSON.parse(uni.getStorageSync('userInfo'))
			}	
		},
		onHide: function() {
			console.log('App Hide')
			uni.$emit('aa')
		},
		methods:{
			
		}
		
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
</style>
